<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script>
        //1.创建script节点
        let script = document.createElement('script');

        //2.设置src属性，地址里面要有一个属性是函数名
        script.src = "https://www.baidu.com/sugrec?pre=1&p=3&ie=utf-8&json=1&prod=pc&from=pc_web&sugsid=33513,33259,33344,33595,33585,26350&wd=vu&req=2&bs=vue&csor=2&pwd=vue&cb=jQuery1102011355556467964467_1614143509671";

        //3.把script标签添加到body内

        document.body.appendChild(script);

        function jQuery1102011355556467964467_1614143509671(res){
            console.log(res);
        }
    </script>
</body>
</html>